package com.jinly.ryder.common.dao.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.jinly.ryder.common.service.model.SettingCategory;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("setting_item")
public class SettingItemDO extends BaseDO {

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField(value = "category", updateStrategy = FieldStrategy.NEVER)
    private SettingCategory category;
    @TableField(value = "ref_key", updateStrategy = FieldStrategy.NEVER)
    private String refKey;
    @TableField(value = "item_name", updateStrategy = FieldStrategy.NEVER)
    private String itemName;
    @TableField(value = "item_value")
    private String itemValue;
}
